//头部菜单
#header-menu {
    height: 30px;
    background-color: #f7f7f7;
    border-bottom: 1px solid #ccc;
    .header {
        height: 30px;
    }
    .header ul {
        line-height: 30px;
        float: right;
        li {
            float: left;
            color: #808080;
            margin: 0 5px;
            a {
                color: #808080;
            }
            a:hover {
                color: #b81b22;
            }
            .icon-yinliang {
                color: #b71c20;
            }
        }
        li:nth-last-child(1) {
            box-sizing: border-box;
            padding-top: 5px;
            position: relative;
            span:nth-child(1) {
                background: url(../img/jingling.png) no-repeat;
                background-position: -66px -118px;
                float: left;
                margin-left: 10px;
                display: inline;
                height: 21px;
                width: 21px;
            }
            span:nth-child(2) {
                background: url(../img/jingling.png) no-repeat;
                background-position: -43px -120px;
                float: left;
                display: inline;
                height: 21px;
                width: 21px;
            }
            img {
                position: absolute;
                top: 35px;
                right: 45px;
                z-index: 9999;
                display: none;
            }
        }
    }
}

// 搜索框
#search {
    height: 100px;
    .vanksearch {
        .searchbox {
            width: 440px;
            height: 60px;
            margin-top: 25px;
            .searcharea {
                box-sizing: border-box;
                width: 100%;
                height: 30px;
                input {
                    box-sizing: border-box;
                    background-color: rgba($color: #000000, $alpha: 0);
                    width: 260px;
                    height: 30px;
                    float: left;
                    border: 1px solid #c9caca;
                }
                span {
                    text-align: center;
                    line-height: 30px;
                    color: #fff;
                }
                .searchbtn {
                    cursor: pointer;
                    display: inline-block;
                    width: 50px;
                    height: 30px;
                    background-color: #b71c20;
                    float: left;
                }
                .buycar {
                    cursor: pointer;
                    display: inline-block;
                    width: 108px;
                    height: 30px;
                    background-color: #b71c20;
                    float: right;
                    position: relative;
                    border: 1px solid #b81c22;
                    z-index: 1001;
                    span {
                        position: absolute;
                        top: 30px;
                        right: -1px;
                        width: 315px;
                        height: 30px;
                        border: 1px solid #b81c22;
                        background-color: white;
                        display: none;
                    }
                    em {
                        display: block;
                        position: absolute;
                        top: 28px;
                        width: 108px;
                        height: 3px;
                        background-color: #fff;
                        display: none;
                    }
                }
            }
            .friendlink {
                margin-top: 5px;
                span {
                    color: #727171;
                    margin-right: 10px;
                }
                a {
                    margin-right: 5px;
                    color: #727171;
                }
            }
        }
    }
}

//菜单导航
#nav {
    height: 50px;
    margin-bottom: 30px;
    .nav {
        height: 50px;
        display: flex;
        justify-content: space-between;
        .logo {
            background: url(../img/vanklogo.png) no-repeat center;
            display: inline-block;
            width: 185px;
            height: 46px;
        }
        > ul {
            flex-grow: 1;
            display: flex;
            justify-content: space-around;
            align-items: flex-end;
        }
        > ul > li {
            width: 50px;
            color: #727171;
            font-size: 14px;
            flex-grow: 1;
            text-align: center;
            border-right: 1px solid #000;
            position: relative;
            .icon-hot {
                position: absolute;
                top: -7px;
                color: #b71c20;
            }
            cursor: pointer;
            ul {
                display: none;
                background: #fff;
                position: absolute;
                width: 100%;
                top: 32px;
                left: 0;
                z-index: 9;
                border: 1px solid #efefef;
                border-top: 5px solid #b81c22;
                padding: 10px 0px;
                box-sizing: border-box;
                li {
                    margin-bottom: 10px;
                }
            }
        }
    }
}

// 侧边滚动条

#scrollbar {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9990;
    width: 0;
    height: 100%;
}

.scrollbar {
    position: absolute;
    right: 0;
    top: 0;
    width: 0;
    height: 100%;
    border-right: 6px solid #7a6e6e;
}

.service {
    position: absolute;
    right: 0px;
    top: 40%;
    margin-top: -70px;
}

.service div {
    margin-bottom: 2px;
    width: 35px;
    height: 35px;
    border-radius: 3px;
    background: #7a6e6e url(../img/scrollbar.png) no-repeat;
    position: relative;
}

#scrollbar div span {
    line-height: 35px;
    text-align: center;
    color: seashell;
    font-size: 12px;
    height: 35px;
    width: 100px;
    background-color: #c81623;
    position: absolute;
    left: 35px;
    z-index: -1;
}

.service .scroll-1 {
    background-position: -48px -148px;
}

.service .scroll-2 {
    background-position: -86px -174px;
}

.service .scroll-3 {
    background-position: -48px -99px;
}

.service .scroll-4 {
    background-position: -186px -148px;
}

.service .scroll-5 {
    background-position: -186px -99px;
}

.service .scroll-6 {
    background-position: -48px 0px;
}

.totop {
    position: absolute;
    right: 6px;
    bottom: 10%;
    margin-top: -70px;
}

.totop div {
    margin-bottom: 2px;
    width: 35px;
    height: 35px;
    border-radius: 3px;
    background: #7a6e6e url(../img/scrollbar.png) no-repeat;
}

.totop .scrollqr {
    background-position: -48px -150px;
}

.totop .write {
    background-position: -48px -300px;
}

.totop .backtop {
    background-position: -48px -250px;
}

// 主体内容 轮播图 详情
#content {
    .bordercurrent {
        border: 1px solid #a10000 !important;
    }
    .seleccurrent {
        border: 2px solid #a10000 !important;
    }
    .route {
        a {
            color: #333;
        }
        a:hover {
            color: #a10000;
        }
        span {
            color: #000;
            margin: 0 5px;
        }
    }

    .product-intro {
        height: 550px;
        border-bottom: 1px solid rgb(189, 189, 189);
        margin-bottom: 30px;
        #title {
            color: #808080;
            height: 30px;
            border-bottom: 1px solid rgb(202, 202, 202);
            margin-bottom: 40px;
            margin-top: 25px;
            h6 {
                font-size: 18px;
                color: #333;
            }

            a {
                color: #808080;
                font-size: 14px;
                margin: 0 5px;
            }
        }

        // 左侧轮播图
        .preview {
            position: relative;
            width: 620px;
            height: 500px;
            //预览 中图盒子
            .pre-zoom {
                position: absolute;
                left: 140px;
                top: 5px;
                width: 400px;
                height: 400px;
                border: 1px solid #000;
                .midbox {
                    display: none;
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 150px;
                    height: 150px;
                    background-color: rgba($color: #ccfa00, $alpha: 0.3);
                }
            }

            // 箭头导航
            .pre-nav {
                position: absolute;
                top: 0px;
                left: 0;
                z-index: 1;
                span {
                    font-size: 15px;
                    font-weight: bold;
                    color: #999;
                    cursor: pointer;
                }
                span:nth-child(1) {
                    position: absolute;
                    top: -26px;
                    left: 26px;
                }
                span:nth-child(2) {
                    position: absolute;
                    top: 420px;
                    left: 26px;
                }
            }

            // 小图盒子
            .preview-icon {
                position: absolute;
                left: 0;
                top: 0;
                height: 400px;
                width: 72px;
                overflow: hidden;
                ul {
                    position: absolute;
                    height: 1000px;
                    z-index: 100;
                    li {
                        box-sizing: border-box;
                        margin-top: 10px;
                        width: 70px;
                        height: 70px;
                        border: 1px solid #dddddd;
                        background-image: url(../img/detail-slideshow/joinimages.jpg);
                    }
                    @for $i from 1 through 9 {
                        li:nth-child(#{$i}) {
                            background-position: 0px ($i * -68)+68px;
                        }
                    }
                }
            }

            // 放大盒子
            .pre-bigzoom {
                z-index: 99;
                display: none;
                position: absolute;
                left: 630px;
                top: -40px;
                width: 400px;
                height: 400px;
                border: 1px solid #000;
                overflow: hidden;
                img {
                    width: 800px;
                    height: 800px;
                    position: absolute;
                    left: 0;
                    top: 0;
                }
            }
        }

        // 右侧参数
        .itemInfo {
            > p:nth-child(1) {
                color: #a10000;
                span:nth-child(1) {
                    font-weight: bold;
                    font-size: 24px;
                    margin: 0 20px 0 10px;
                }
                span:nth-child(2) {
                    font-weight: bold;
                }
            }
            .chongzhi {
                line-height: 10px;
                color: #fff;
                background: #b81c22;
                padding: 5px;
                cursor: pointer;
                display: inline-block;
                margin: 15px 0;
            }
            div {
                display: flex;

                > p {
                    color: #666;
                    margin-right: 10px;
                    margin-bottom: 20px;
                }
            }
            .selec-color {
                margin-bottom: 20px;
                ul {
                    display: flex;
                    li {
                        width: 93px;
                        height: 38px;
                        border: 1px solid rgb(189, 189, 189);
                        margin-right: 10px;
                        background: url(../img/detail-selec.jpg) no-repeat;
                        line-height: 38px;
                        text-indent: 42px;
                    }
                    li:nth-child(2) {
                        background-position: 0 -35px;
                    }
                }
            }
            .selec-size {
                p {
                    line-height: 26px;
                }
                ul {
                    display: flex;
                    li {
                        border: 1px solid rgb(189, 189, 189);
                        margin-right: 10px;
                        height: 26px;
                        line-height: 26px;
                        padding: 0 10px;
                    }
                }
            }
            .selec-num {
                #selec-num {
                    height: 20px;
                    line-height: 20px;
                    width: 53px;
                }
            }
            .seleced-inner {
                line-height: 22px;
                span {
                    height: 22px;
                    line-height: 22px;
                    color: #666666;
                    font-weight: bold;
                }
                .stock {
                    margin-left: 15px;
                    color: #a10000;
                }
            }
            .buynow {
                span:nth-child(1) {
                    background: #f7abaf;
                    width: 166px;
                    height: 31px;
                    display: block;
                    float: left;
                    margin-right: 13px;
                    border: solid 1px rgb(183, 27, 33);
                    cursor: pointer;
                    font-size: 14px;
                    color: #a50309;
                    line-height: 31px;
                    text-align: center;
                }
                span:nth-child(2) {
                    background: #b81c22 url(../img/detail-jingling.png) no-repeat -147px -285px;
                    width: 166px;
                    height: 31px;
                    display: block;
                    float: left;
                    margin-right: 13px;
                    border: solid 1px rgb(183, 27, 33);
                    cursor: pointer;
                }
            }
            .discounttips {
                display: block;
                h4 {
                    height: 4px;
                    width: 400px;
                    line-height: 14px;
                    margin-top: 20px;
                    margin-bottom: 6px;
                    position: relative;
                    color: #a20000;
                    font-weight: bold;
                    border-bottom: 1px solid #a20000;
                    span {
                        background-color: #fff;
                        position: absolute;
                        left: 175px;
                        top: -3px;
                        padding: 0 10px;
                    }
                }
                ul {
                    border-bottom: 1px solid #a20000;
                    li {
                        color: #666;
                        margin-bottom: 8px;
                        span:nth-child(1) {
                            display: inline-block;
                            width: auto;
                            height: 16px;
                            background: #b81c22;
                            margin: 4px 5px 0 0;
                            color: #fff;
                            line-height: 16px;
                            text-align: center;
                            padding: 0 5px;
                        }
                    }
                    li:nth-child(4) {
                        span {
                            margin-right: 5px;
                            position: relative;
                        }
                        span:nth-of-type(n + 2) {
                            color: #fff;
                            background: #b81c22;
                            padding: 0 5px;
                            margin-left: 18px;
                        }
                        span:nth-of-type(n + 2)::before {
                            content: "";
                            background-image: url(../img/before.png);
                            width: 12px;
                            position: absolute;
                            top: 0;
                            height: 100%;
                            left: -12px;
                        }
                        span:nth-of-type(n + 2)::after {
                            content: "";
                            width: 6px;
                            background: url(../img/after.png);
                            position: absolute;
                            top: 0;
                            right: -6px;
                            height: 100%;
                        }
                    }
                }
            }
        }
    }

    .content {
        height: 11750px;
        background-image: url(../img/detaillong.png);
    }
}

// 底部
#footer {
    .fot-top {
        box-sizing: border-box;
        overflow: hidden;
        height: 282px;
        padding: 0px 40px 0px;
        border: 1px solid #e0e0e1;
        font-family: "Microsoft YaHei";
        margin-bottom: 25px;
        padding-top: 30px;
        ul:nth-child(1) {
            display: flex;
            justify-content: space-around;
            margin-bottom: 50px;
            li {
                width: 370px;
                height: 138px;
                border-right: 1px solid #e0e0e1;
                margin-right: 0px;
                p {
                    text-align: center;
                    font-size: 14px;
                    color: #727171;
                    line-height: 26px;
                    span {
                        color: #a10000;
                    }
                }
                .onlinelogo {
                    margin: 15px auto 30px;
                }
                .onlinekefu {
                    margin: 0px auto;
                    width: 156px;
                    height: 32px;
                    text-align: center;
                    line-height: 32px;
                    font-size: 14px;
                    background: #b81c22;
                    color: #ffffff;
                }
                .seven {
                    margin: 20px 0px;
                }
                .qr img {
                    width: 104px;
                    height: 104px;
                }
            }
            li:nth-child(3) {
                border-right: 0px;
            }
        }
        ul:nth-child(2) {
            display: flex;
            justify-content: space-between;
            text-align: center;
            height: 55px;
            background-color: #f8f8f8;
            align-items: center;
            li {
                line-height: 26px;
                height: 26px;
                flex-grow: 1;
                border-right: 1px solid #e0e0e1;
                a {
                    color: #323232;
                }
            }
            li:nth-last-child(1) {
                border-right: 0px;
            }
        }
    }
    .fot-bot {
        hr {
            margin-bottom: 10px;
        }
        p {
            text-align: center;
            line-height: 25px;
            color: #3e3a39;
            font-family: "Microsoft YaHei";
            a {
                color: #3e3a39;
            }
            a:hover {
                color: #b31a1d;
            }
        }
        .fot-link {
            margin: 20px 0px 10px;
            .costumeOrg {
                background: url(../img/jingling.png) scroll 0 -629px transparent;
                display: inline-block;
                height: 45px;
                width: 156px;
            }
            .vanclMsg {
                display: inline-block;
                background: url(../img/jingling.png) no-repeat scroll -97px -675px transparent;
                display: inline-block;
                height: 42px;
                width: 101px;
                margin: 0 15px;
            }
            .vanclqingNian {
                background: url(../img/jingling.png) no-repeat scroll -202px -675px transparent;
                display: inline-block;
                height: 42px;
                width: 42px;
            }
        }
    }
}
